import pymongo
def conn_mongo():
    client = pymongo.MongoClient(host="localhost", port=27017)
    return client